<template>
  <FromAc :title="hello" :many-type="otherType"></FromAc>
</template>
<script>
import FromAc from "@/components/FromAc.vue";
export default {
  data() {
    return {
      hello: 999,
      otherType: 666
    }
    /*[Vue warn]: Invalid prop: type check failed for prop "title". Expected String with value "999", got Number with value 999.
  at <FromAc title=999 >
  这里给子类传数据的时候,子类要求是 string,实际传过去number类型子类会告警
*/
  },components:{
    FromAc
  }
}
</script>